package com.lucy.nepu.module.thinktank.lib;

import com.lucy.common.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
@Table(name = "nepu_thinkTank_dict")
@ApiModel(value = "智库类成果词典")
public class ThinkTankDict extends BaseEntity implements Serializable {

    /**
     * 词典编码
     */
    @ApiModelProperty("词典编码")
    @Column(name = "code")
    String code;
    @ApiModelProperty(value="智库类成果类型",notes="国家社科基金《成果要报》等.")
    @Column(name="thinktank_type")
    String thinktankType;

    @ApiModelProperty(name="智库类成果类别",notes = "A.B")
    @Column(name="thinktank_level")
    String thinktankLevel;

    @ApiModelProperty(value = "工作量Min",notes = "获奖对应的最小工作量")
    @Column(name = "workload_min")
    Double workloadMin;
    @ApiModelProperty(value = "工作量Max",notes = "获奖对应的最大工作量")
    @Column(name = "workload_max",scale = 2)
    Double workloadMax;

    @ApiModelProperty(value = "智库类成果词典备注")
    @Column(name = "remark")
    String remark;
}
